import request from "../utils/request";

// 签到-增加会员成长值和积分
export const signIn = (growthValue) => request.get(`/personalCenter/memberCenter/signIn/${growthValue}`)
// 会员中心-会员成长值增长记录
export const growthRecord = () => request.get(`/personalCenter/memberCenter/growthRecord`)
// 会员中心-会员尊享权益
export const rightInterestMember = () => request.get(`/personalCenter/memberCenter/rightInterestMember`)
// 会员中心-会员成长值详情列表
export const collectList = () => request.get(`/personalCenter/memberCenter/detailsMemberGrowthValue`)
// 会员中心-签到列表
export const signInRecord = () => request.get(`/personalCenter/signInRecord`)
// 会员中心-权益一键领取
export const discountVoucherAdd = (params) => request.post(`/personalCenter/discountVoucher/add`,params)